export interface ParseGEORawResult {
  status: string
  regeocode: {
    addressComponent: {
      city: string
      province: string
      adcode: string
      district: string
      towncode: string
      streetNumber: {
        number: string[]
        direction: string[]
        distance: string[]
        street: string[]
      }
      country: string
      township: string
      businessAreas: string[][]
      building: {
        name: string[]
        type: string[]
      }
      neighborhood: {
        name: string[]
        type: string[]
      }
      citycode: string
    }
    formatted_address: string
  }
  info: string
  infocode: string
}
// 由ParseGEORawResult解析的我们想要的数据
export class GEOInfo {
  // 经度
  longitude: number

  // 纬度
  latitude: number

  // 省份编码
  provinceCode: string

  // 省份名称
  provinceName: string

  // 城市编码
  cityCode: string

  // 城市名称
  cityName: string

  // 区县编码
  districtCode: string

  // 区县名称
  districtName: string

  // 详细地址信息
  detailAddress: string
}
